package com.qf.feign;

import com.qf.entity.Goods;
import com.qf.entity.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("MICRO-GOODS")
public interface GoodsFeign {

    @RequestMapping("/goods/getGoodById")
    public R<Goods> getGoodById(@RequestParam Integer gid);

}
